|
![](/i/fill.gif) |
Todd Taylor wrote:
>
> /* I would like to rotate the object below by 360 degrees around an axis,
> (say, the z-axis),
> to get a bowl-like rotated object. Is this possible? Please help. TIA.
>
The lathe object creates a surface of revolution, so using your spline in a
lathe should do what you need.
If you want to make a radial array of copies of the actual prism object, use a
while loop. Something like:
#declare MyPrism = prism{...}
#declare Count = 0;
#declare Number = 20; //Number of copies to create
#while(Count < Number)
object{MyPrism rotate <360 / Number * Count, 0, 0>}
#declare Count = Count + 1;
#end
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Post a reply to this message
|
![](/i/fill.gif) |